/**
 * 电脑实体
 *
 * @author ItJianGe
 * @data 2024/8/1 14:55
 */
public class Computer {

    public Computer() {
    }

    public Computer(String computerCase, String computerMainBoard, String gpu, String power) {
        this.computerCase = computerCase;
        this.computerMainBoard = computerMainBoard;
        this.gpu = gpu;
        this.power = power;
    }

    /**
     * 机箱
     */
    private String computerCase = "普通机箱";

    /**
     * 主板
     */
    private String computerMainBoard = "普通主板";

    /**
     * 显卡
     */
    private String gpu = "普通显卡";

    /**
     * 电源
     */
    private String power = "普通电源";


    public String getComputerCase() {
        return computerCase;
    }

    public void setComputerCase(String computerCase) {
        this.computerCase = computerCase;
    }

    public String getComputerMainBoard() {
        return computerMainBoard;
    }

    public void setComputerMainBoard(String computerMainBoard) {
        this.computerMainBoard = computerMainBoard;
    }

    public String getGpu() {
        return gpu;
    }

    public void setGpu(String gpu) {
        this.gpu = gpu;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    @Override
    public String toString() {
        return "Computer{" +
                "computerCase='" + computerCase + '\'' +
                ", computerMainBoard='" + computerMainBoard + '\'' +
                ", gpu='" + gpu + '\'' +
                ", power='" + power + '\'' +
                '}';
    }
}
